# Find installed Eigen3

# find include path
find_path(Eigen3_INCLUDE_DIR
   NAMES signature_of_eigen3_matrix_library
   PATH_SUFFIXES eigen3
   DOC "Eigen3 include path"
)

set(Eigen3_INCLUDE_DIRS ${Eigen3_INCLUDE_DIR})
set(Eigen3_LIBRARIES)

if (Eigen3_INCLUDE_DIR)
   set(Eigen3_FOUND TRUE)
   if (NOT Eigen3_FIND_QUIETLY)
      message (STATUS "Found Eigen3: ${Eigen3_INCLUDE_DIR}")
   endif()
else()
   set(Eigen3_FOUND FALSE)
   if (Eigen3_FIND_REQUIRED)
      message(FATAL_ERROR "Could not find Eigen3")
   endif()
endif()
